﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Model;

namespace DAL.Mappings
{
    public class CodeListMap:ClassMap<CodeList>
    {
        public CodeListMap()
        {
            Id(x => x.Id);
            Map(x => x.Name);

            DiscriminateSubClassesOnColumn("ClassType");
        }
    }
}
